package com.example.jspwork.pojo;

public class nowBean {
    private  int    id;
    //    城市
    private  String name;
    //    天气
    private  String text;

    //    温度
    private  Integer temp;
    //    体感温度
    private  Integer  feels_like;
    //    湿度
    private  Integer  fh;
    //    风的级数
    private  String   wind_class;
    //    风向
    private   String  wind_dir;
    private String update_time;



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getname() {
        return name;
    }

    public void setname(String name) {
        this.name = name;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Integer getTemp() {
        return temp;
    }

    public void setTemp(Integer temp) {
        this.temp = temp;
    }

    public Integer getFeels_like() {
        return feels_like;
    }

    public void setFeels_like(Integer feels_like) {
        this.feels_like = feels_like;
    }

    public Integer getFh() {
        return fh;
    }

    public void setFh(Integer fh) {
        this.fh = fh;
    }

    public String getWind_class() {
        return wind_class;
    }

    public void setWind_class(String wind_class) {
        this.wind_class = wind_class;
    }

    public String getWind_dir() {
        return wind_dir;
    }

    public void setWind_dir(String wind_dir) {
        this.wind_dir = wind_dir;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        return "nowBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", text='" + text + '\'' +
                ", temp=" + temp +
                ", feels_like=" + feels_like +
                ", fh=" + fh +
                ", wind_class='" + wind_class + '\'' +
                ", wind_dir='" + wind_dir + '\'' +
                ", update_time='" + update_time + '\'' +
                '}';
    }

    //    id


    public nowBean() {
        // empty constructor
    }


    public nowBean(int id, String name, String text, Integer temp, Integer feels_like, Integer fh, String wind_class, String wind_dir, String update_time) {
        this.id = id;
        this.name = name;
        this.text = text;
        this.temp = temp;
        this.feels_like = feels_like;
        this.fh = fh;
        this.wind_class = wind_class;
        this.wind_dir = wind_dir;
        this.update_time = update_time;
    }










}
